﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace Twodi.Interfaces
{
    public interface ITexture2D
    {
        /// <summary>
        /// Textura do componente.
        /// </summary>
        Texture2D Texture
        {
            get;
            set;
        }

        /// <summary>
        /// Evento invocado caso a textura for alterada.
        /// </summary>
        event EventHandler<EventArgs> TextureChanged;
    }
}
